/*
 * AlbumDTIterator.cpp - Grupo 5 - Prog. Avanzada 2011
 *
 *  Javier Dominguez - 4.901.161-6
 *  Marcelo Parada - 1.977.094-9
 *  Rodrigo Ruiz - 4.481.611-2
 *  Maximiliano Silvera - 4.106.938-6
 */

#include "AlbumDTIterator.h"


AlbumDTIterator::AlbumDTIterator(IIterator *iter)
{
	this->iter = iter;
}



AlbumDT *AlbumDTIterator::current()
{
	return (AlbumDT*) iter->current();
}


void AlbumDTIterator::next()
{
	iter->next();
}


bool AlbumDTIterator::hasCurrent()
{
	return iter->hasCurrent();
}


AlbumDTIterator::~AlbumDTIterator()
{
	iter->~IIterator();

	delete iter;

}
